package com.itheima.travel.service;


import com.github.pagehelper.PageInfo;
import com.itheima.travel.req.RouteVo;

import java.util.List;

public interface RouteService {
    //添加线路
    Integer addRoute(RouteVo routeVo);
    //根据id查找线路
    RouteVo findRouteById(RouteVo routeVo);
    //查找线路
    PageInfo<RouteVo> findRouteByPage(RouteVo routeVo,int pageNumber,int pageSize);
    //修改线路
    Integer updateRoute(RouteVo routeVo);
}
